/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.brainy.perseu.manegerworker.factories;

import br.com.brainy.perseu.manegerworker.DAOS.PessoaDAO;
import br.com.brainy.perseu.generic.interfaces.IGenericDAO;
import br.com.brainy.perseu.manegerworker.facades.UniqueFacadeWorker;
import br.com.brainy.perseu.manegerworker.interfaces.IFactory;
import br.com.brainy.perseu.manegerworker.interfaces.IUniqueFacadeWorker;

/**
 *
 * @author Luiz Segundo
 */
public class Factory implements IFactory{

        @Override
        public IGenericDAO getNewPessoaDAO() {
                return new PessoaDAO();
        }
        @Override
        public IUniqueFacadeWorker  getNewFacade() {
                return new UniqueFacadeWorker();
        }
        
}
